<?php $this->load->view('header-dashboard'); ?>

<script type="text/javascript">
<!--
    var sWidth = screen.width ;
    var sHeight = screen.height;
    jQuery(document).ready(function($){
        //showTimeMin();
    	$.ajax({ 
            url: site_url('dashboard/screenDetectionJs'),
            type: 'POST',
            dataType: 'json',
            data: ({action: 'screen',width: sWidth,height: sHeight}),
            success: function(data) {
                if (data.success) {
                    params = 'width=' + data.width +',height=' + data.height ;
                    params += ',top=0,left=0,fullscreen=yes,toolbar=no,status=no,location=no,resizable=no';
                    document.location.href = '<?php echo $redirectUrl;?>';
                    //alert(params);
                    //return;
                    //var openXML = window.open(site_url('dashboard/listing'),'openXML',params);
                    //openXML.focus();
                } else {
                    //alert(0);
                }
            }
        });
    });
//-->
</script>
<center>Loading.......</center>
<?php $this->load->view('footer-dashboard'); ?>